<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{margin: 0;padding: 0};
        /*子元素不设置width,它会继承父元素的width --只发生在块元素之间*/
        div{
            height: 100px;
            /*
            背景传参的简写
            background:color image repeat position */
            background:#1ABEBF url('images/logo.png') no-repeat center;
        }
    </style>
</head>
<body>
  <div>

  </div>
</body>
</html>